package com.dmwork.service.interaction.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.dmwork.service.base.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("dm_cms_excellent_work")
@ApiModel(value="CmsExcellentWork对象", description="优秀作品表")
public class CmsExcellentWork extends BaseEntity {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.NONE)
    private String id;

    @ApiModelProperty(value = "作品id")
    private String workId;

    @ApiModelProperty(value = "优秀作品级别")
    private Integer level;

    @TableField("is_deleted")
    @TableLogic
    private Integer deleted;

}
